package com.uduemc.biso.master.backend.service;

import java.io.IOException;
import java.util.List;

import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.uduemc.biso.core.extities.center.AuthorizeModel;
import com.uduemc.biso.core.extities.center.AuthorizeModelAction;

public interface AuthorizeService {

	public List<AuthorizeModel> getModelInfos()
			throws JsonParseException, JsonMappingException, JsonProcessingException, IOException;

	public List<AuthorizeModelAction> getModelActionInfos()
			throws JsonParseException, JsonMappingException, JsonProcessingException, IOException;

	public AuthorizeModelAction getAuthorizeModelActionInfoById(long id)
			throws JsonParseException, JsonMappingException, JsonProcessingException, IOException;

	public List<AuthorizeModelAction> getModelActionInfosByModelId(long modelId)
			throws JsonParseException, JsonMappingException, JsonProcessingException, IOException;

	public AuthorizeModelAction insertAuthorizeModelAction(AuthorizeModelAction insertAuthorizeModelAction)
			throws JsonParseException, JsonMappingException, JsonProcessingException, IOException;

	public AuthorizeModelAction updateAuthorizeModelAction(AuthorizeModelAction updateAuthorizeModelAction)
			throws JsonParseException, JsonMappingException, JsonProcessingException, IOException;

	public boolean deleteAuthorizeModelAction(long id)
			throws JsonParseException, JsonMappingException, JsonProcessingException, IOException;
}
